/**
 * Copyright &copy; 2012-2016 <a href="https://istep.lczyfz.com">Istep</a> All rights reserved.
 */
package com.lczyfz.istep.modules.race.dao;

import com.lczyfz.istep.common.persistence.CrudDao;
import com.lczyfz.istep.common.persistence.annotation.MyBatisDao;
import com.lczyfz.istep.modules.race.entity.RaceSchedule;
import com.lczyfz.istep.modules.race.entity.RaceScheduleTeamSubject;
import com.lczyfz.istep.modules.race.entity.RaceSubject;
import com.lczyfz.istep.modules.resource.entity.ResourceCtfSubject;

import java.util.List;

/**
 * 竞赛答题DAO接口
 * @author CY
 * @version 2017-05-11
 */
@MyBatisDao
public interface RaceScheduleTeamSubjectDao extends CrudDao<RaceScheduleTeamSubject> {
   List<RaceScheduleTeamSubject> findTeam(String teamId);
   List<RaceScheduleTeamSubject> findRightAndWrong(String teamId);
   List<ResourceCtfSubject> findScore(List<String> strings);

   List<RaceSubject> test(String repertoryId);

   List<RaceScheduleTeamSubject> teamTotalScoreRanking();

   List<RaceScheduleTeamSubject> getScheduleTeamtest(String asd, String subjectId);


   void finish();


}